package systems.lsystem 
{
	/**
	 * ...
	 * @author Nicolas Barradeau
	 * http://en.nicoptere.net
	 */
	public class Turtle 
	{
		private var _x:Number;
		private var _y:Number;
		private var _angle:Number;
		
		public function Turtle( x:Number = 0, y:Number = 0, angle:Number = 0 )
		{
			_x = x;
			_y = y;
			_angle = angle;
		}
		
		public function clone():Turtle
		{
			return new Turtle( x, y, angle );
		}
		
		public function get x():Number { return _x; }
		
		public function set x(value:Number):void 
		{
			_x = value;
		}
		
		public function get y():Number { return _y; }
		
		public function set y(value:Number):void 
		{
			_y = value;
		}
		
		public function get angle():Number { return _angle; }
		
		public function set angle(value:Number):void 
		{
			_angle = value;
		}
		
	}

}